﻿<?xml version="1.0" encoding="utf-8"?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
    xmlns:msxsl="urn:schemas-microsoft-com:xslt" exclude-result-prefixes="msxsl"
>
  <xsl:output method="xml" indent="yes"/>

  <xsl:template match="/">
    <UMS>
      <xsl:for-each select="UMS/UM">
        <UM>
          <QUANTITY_UM>
            <xsl:value-of select ="QUANTITY_UM"/>
          </QUANTITY_UM>
          <DESCRIPTION>
            <xsl:value-of select="QUANTITY_UM"/>(<xsl:value-of select="CONVERSION_QTY"/>)
          </DESCRIPTION>
          <CONVERSION_QTY>
            <xsl:value-of select="CONVERSION_QTY"/>
          </CONVERSION_QTY>
          <GROUP_DURING_CHECKIN>
            <xsl:value-of select="GROUP_DURING_CHECKIN"/>
          </GROUP_DURING_CHECKIN>
        </UM>
      </xsl:for-each>
    </UMS>
  </xsl:template>
</xsl:stylesheet>
